﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Xml;
using System.Collections;

namespace BSITProject
{
    public partial class RFQGenerate : Form
    {
        public RFQGenerate()
        {
            InitializeComponent();
        }

        


        private void button1_Click(object sender, EventArgs e)
        {
            string fileName = @"..\..\RFQ.xml";
            XmlWriterSettings settings = new XmlWriterSettings();
            settings.Indent = true;
            XmlWriter xtw = XmlWriter.Create(fileName, settings);
            xtw.WriteStartDocument();
            xtw.WriteStartElement("requestForQuotation");
            xtw.WriteElementString("rfqID", tbxRFQ.Text.ToString());
            xtw.WriteElementString
        }
    }
}
